TEMPLATE = app
TARGET = camera

QT += multimedia multimediawidgets

HEADERS = \
    arm_jsoncpp/include/json/assertions.h \
    arm_jsoncpp/include/json/autolink.h \
    arm_jsoncpp/include/json/config.h \
    arm_jsoncpp/include/json/features.h \
    arm_jsoncpp/include/json/forwards.h \
    arm_jsoncpp/include/json/json.h \
    arm_jsoncpp/include/json/reader.h \
    arm_jsoncpp/include/json/value.h \
    arm_jsoncpp/include/json/version.h \
    arm_jsoncpp/include/json/writer.h \
    base/base.h \
    base/base64.h \
    base/http.h \
    base/utils.h \
    camera.h \
    face.h \
    imagesettings.h \
    json/include/json/assertions.h \
    json/include/json/autolink.h \
    json/include/json/config.h \
    json/include/json/features.h \
    json/include/json/forwards.h \
    json/include/json/json.h \
    json/include/json/reader.h \
    json/include/json/value.h \
    json/include/json/version.h \
    json/include/json/writer.h \
    json/json_tool.h \
    json/json_valueiterator.inl \
    json/lib/json.h \
    json/version.h.in \
    ocr.h \
    speech.h \
    videosettings.h

INCLUDEPATH += \
    /usr/local/openssl/include \
    /usr/local/curl/include    \
#    /usr/local/json/include    \

LIBS += \
    /usr/local/openssl/lib/libssl.so.1.0.0  \
    /usr/local/openssl/lib/libcrypto.so.1.0.0  \
    /usr/local/curl/lib/libcurl.so.4.5.0    \
#    /usr/local/json/lib/libjsoncpp.so       \


SOURCES = \
    json/json_reader.cpp \
    json/json_value.cpp \
    json/json_writer.cpp \
    main.cpp \
    camera.cpp \
    imagesettings.cpp \
    videosettings.cpp

FORMS += \
    camera.ui \
    videosettings.ui \
    imagesettings.ui

RESOURCES += camera.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/multimediawidgets/camera
INSTALLS += target

QT+=widgets
include(../../multimedia/shared/shared.pri)

DISTFILES += \
    json/CMakeLists.txt \
    json/sconscript
